package tgc.edu.xzy.repostory;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Repository;

import tgc.edu.xzy.custom.CommonRepository;
import tgc.edu.xzy.entity.Accredit;

@Repository
public interface ImpowerRepostory extends CommonRepository<Accredit, Integer>{

	public Page<Accredit> findByLesseeLesseeAdminId(Integer id, Pageable pageable);

	public Page<Accredit> findByLesseeLesseeAdminId(Integer id, Specification<Accredit> buildSpes, Pageable pageable);

}
